package cn.tedu.zx.pojo.court.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("court")
@Accessors(chain = true)
public class CourtListVo implements Serializable {

    //    场地id
    private Long id;

    //    分类id
    private Long categoryId;
    private String categoryName;

    //    场地名称
    private String name;

    //    场地图片地址
    private String url;

    //    单价
    private BigDecimal price;

    //    启禁用
    private Integer isEnable;
    private String description;

    //    排序序号
    private Integer sort;

    //    创建时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime created;

    //    修改时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime updated;



}
